//
//  UITableView+UpdateCellDeleteFrame.h
//  MorninyDiaryB
//
//  Created by bill on 2021/3/22.
//  Copyright © 2021 bill. All rights reserved.
//  Git: https://gitee.com/dosedo/modify-delete-btn-demo
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/*
 修改左滑删除按钮的尺寸frame 更新按钮的frame

 使用示例：在tableview的如下delegate方法中调用
 
 - (void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath{
    [self setupSlideDeleteBtnOriginY:10 height:100 editingIndexPath:indexPath];
 }
 */

@interface UITableView (DeleteButtonFrame)

- (void)setupSlideDeleteBtnOriginY:(CGFloat)originY height:(CGFloat)height editingIndexPath:(NSIndexPath*)editingIndexPath;

@end


NS_ASSUME_NONNULL_END
